package pl.elka.pszt.controller.handler;

import pl.elka.pszt.controller.Controller;
import pl.elka.pszt.controller.event.BaseEvent;

/**
 * 
 * @author Andrzej Makarewicz
 * 
 */
public class ExitHandler extends BaseHandler{
	
	public ExitHandler(Controller controller) {
		super(controller);
	}
	
	public void handleEvent(BaseEvent event) {
		controller.stopRunning();
	}
	
}
